package com.mc.bean;
/**
 * @Description 报名实体类（也称团队赛事关系实体类）
 * @author zl
 * @date 2023/2/11 11:53
 * @version 1.0
 */
public class Apply {

    /**
     * 报名编号
     */
    private int matchcode;

    /**
     * 赛事编号
     */
    private int mid;

    /**
     *  团队编号
     */
    private int teamid;

    @Override
    public String toString() {
        return "Apply{" +
                "matchcode=" + matchcode +
                ", mid=" + mid +
                ", teamid=" + teamid +
                '}';
    }

    public Apply() {
    }

    public Apply(int matchcode, int mid, int teamid) {
        this.matchcode = matchcode;
        this.mid = mid;
        this.teamid = teamid;
    }

    public Apply(int mid, int teamid) {
        this.mid = mid;
        this.teamid = teamid;
    }

    public Apply(int matchcode) {
        this.matchcode = matchcode;
    }

    public int getMatchcode() {
        return matchcode;
    }

    public void setMatchcode(int matchcode) {
        this.matchcode = matchcode;
    }

    public int getMid() {
        return mid;
    }

    public void setMid(int mid) {
        this.mid = mid;
    }

    public int getTeamid() {
        return teamid;
    }

    public void setTeamid(int teamid) {
        this.teamid = teamid;
    }
}
